package com.pay.entity.wx;

import java.io.Serializable;
import java.util.Date;

import com.pay.enums.MsgType;

public class WxMessage implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6783107398796778135L;
	private String fromUserName;
	private String toUserName;
	private Date createTime;
	// 接收消息类型
	private MsgType msgType;
	// 接收消息
	private String msg;
	// 接收消息id
	private String msgId;
	// 事件类型
	private String event;
	// 事件
	private String eventKey;

	// 返回类型
	private String returnMsgType;
	// 返回文本内容
	private String returnContent;

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public MsgType getMsgType() {
		return msgType;
	}

	public void setMsgType(MsgType msgType) {
		this.msgType = msgType;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getEventKey() {
		return eventKey;
	}

	public void setEventKey(String eventKey) {
		this.eventKey = eventKey;
	}

	public String getReturnMsgType() {
		return returnMsgType;
	}

	public void setReturnMsgType(String returnMsgType) {
		this.returnMsgType = returnMsgType;
	}

	public String getReturnContent() {
		return returnContent;
	}

	public void setReturnContent(String returnContent) {
		this.returnContent = returnContent;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
